package com.tang.common.properties;

import com.tang.common.annotation.Config;
import com.tang.common.annotation.ConfigField;
import lombok.Data;
import java.io.Serializable;

/**
 * @Author tang jun liang
 * @Date 2023-06-02 14:01:17
 */
@Data
@Config(name = "order_timeout" )
public class OrderTimeoutProperties implements Serializable {

    /**
     *   订单未支付取消订单时间
     */
    @ConfigField(name = "order_timeout", type = Long.class)
    private Long orderTimeout;

    /**
     *   商家发货超时，取消订单时间
     */
    @ConfigField(name = "ship_timeout", type = Long.class)
    private Long shipTimeout;

    /**
     *   自动确认收货时间
     */
    @ConfigField(name = "confirm_timeout", type = Long.class)
    private Long confirmTimeout;

}
